<?php

class ArrayNode extends Node {
    
    public $elements;
    
    public function __construct() {
        parent::__construct();
        $this->elements = array();
    }
    
    public function addElement($element) {
        $this->elements[] = $element;
    }
}